/**
 * <p>
 * 菜单表
 * </p>
 *
 *  *  */
export default class Menu {
  public id: number
  public parentId?: number
  public name: string
  public label: string
  public route: string
  public component: string
  public icon: string
  public perms: string
  public status: number
  public sort: number
  public createTime: Date
  public updateTime: Date
  public deleted: number
  public childrenMenus: Menu[]

  public constructor(name: string, path: string, component: string) {
    this.name = name
    this.route = path
    this.component = component
  }
}
